package org.jeecg.modules.newsSources.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jk_news_sources
 * @Author: jeecg-boot
 * @Date:   2025-05-16
 * @Version: V1.0
 */
@Data
@TableName("jk_news_sources")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="jk_news_sources")
public class JkNewsSources implements Serializable {
    private static final long serialVersionUID = 1L;

	/**新闻ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "新闻ID")
    private java.lang.Integer id;
	/**来源名称*/
	@Excel(name = "来源名称", width = 15)
    @Schema(description = "来源名称")
    private java.lang.String sourceName;
	/**来源域名*/
	@Excel(name = "来源域名", width = 15)
    @Schema(description = "来源域名")
    private java.lang.String sourceDomain;
	/**来源URL*/
	@Excel(name = "来源URL", width = 15)
    @Schema(description = "来源URL")
    private java.lang.String sourceUrl;
	/**新闻分类*/
	@Excel(name = "新闻分类", width = 15, dicCode = "category_type")
	@Dict(dicCode = "category_type")
    @Schema(description = "新闻分类")
    private java.lang.Integer sourceType;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "category_status")
	@Dict(dicCode = "category_status")
    @Schema(description = "状态")
    private java.lang.Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "创建时间")
    private java.util.Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "更新时间")
    private java.util.Date updateTime;
	/**创建人*/
    @Schema(description = "创建人")
    private java.lang.String createBy;
	/**更新人*/
    @Schema(description = "更新人")
    private java.lang.String updateBy;
	/**作者*/
	@Excel(name = "作者", width = 15)
    @Schema(description = "作者")
    private java.lang.String author;
	/**新闻标题*/
	@Excel(name = "新闻标题", width = 15)
    @Schema(description = "新闻标题")
    private java.lang.String title;
	/**图片URL*/
	@Excel(name = "图片URL", width = 15)
    @Schema(description = "图片URL")
    private java.lang.String picture;
	/**新闻内容*/
	@Excel(name = "新闻内容", width = 15)
    @Schema(description = "新闻内容")
    private java.lang.String content;
}
